Pushing and popping the visual/cmap in the init() function does no good,
authorOwen Taylor <otaylor@redhat.com>
Thu, 21 Jan 1999 17:27:23 +0000 (17:27 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Thu, 21 Jan 1999 17:27:23 +0000 (17:27 +0000)
commitd1d9c5bf04dba452d23169782230962a03097b07
tree44b267cc62b13c4287eafca17a563cd0632f4de8
parenta46ac625c9f742118338aa89bc557e9b4ffd1e44
Pushing and popping the visual/cmap in the init() function does no good,

Thu Jan 21 12:20:51 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkcolorsel.c (gtk_color_selection_dialog_new):
Pushing and popping the visual/cmap in the init()
function does no good, because the window itself needs
to be create with that visual/cmap.

So do it in the new() function instead.

This will require people doing gtk_widget_new() to do
the push/pop themselves, but I don't see any way around
it other than digging in and tweaking the window
widget's colormap and visual ourselves, which
is highly non-kosher, but would be safe...
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkcolorsel.c